#region Summary 

// 
// Owner : JackieHan 
// 
// Solution : LearnSolution 
// 
// Project : SetpBySetp.Web 
// 
// File : Post.cs 
// 
// CopyRight : Copyright © 2009-2010 XunGu Corporation, All Rights Reserved 
// 
// Summary : 数据契约 
// 
// History : 
//			2010-05-08 15:36:17	    Create 
// 

#endregion

#region Using 

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

#endregion

namespace SetpBySetp.Web
{
    /// <summary> 
    /// 数据契约 
    /// </summary> 
    [DataContract]
    public class Post
    {
        public Post(int id,string title, string author)
        {
            this.Id = id;
            this.Title = title;
            this.Author = author;
        }

        [DataMember]
        public int Id
        {
            get; set;
        }

        [DataMember]
        public string Title
        {
            get; set;
        }

        [DataMember]
        public string Author
        {
            get; set;
        }
    }
}
